import java.math.BigInteger;


public class Stmt_Seq implements Node {

	public String token = "<stmt_seq>";
	public Node stmt;
	public Node stmt_seq = null;
	public Stmt_Seq(){
		// there must be at least one stmt
		this.stmt = new Stmt();
		
		int token = PSTree.Core_TK.getToken();
		//System.out.println("stmt token "+token);
		// if token = assign, if, loop, in, or out go to stmt_seq
		if(token == 5 ||token == 8 || token == 10 ||token == 11  ||token == 32  ){
			
			this.stmt_seq = new Stmt_Seq();
		}
	}
	@Override
	public void print(int indent) {
		PSTree.print_ind(indent);
		this.stmt.print(indent+1);
		if(this.stmt_seq != null){
			this.stmt_seq.print(indent);
		}
		
	}
	
	public void execute() {
		// TODO Auto-generated method stub
		
	}
	@Override
	public BigInteger intexecute() {
		// TODO Auto-generated method stub
		return null;
	}
	@Override
	public boolean compexecute() {
		// TODO Auto-generated method stub
		return false;
	}
	@Override
	public String Stringexcec() {
		// TODO Auto-generated method stub
		return null;
	}
}
